<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <th:block th:include="include :: header('详情')" />
    <link rel="stylesheet " href="../static/css/projectAll/projectAllDetail.css " th:href="@{/css/projectAll/projectAllDetail.css}"/>
    <link rel="stylesheet " href="../static/css/projectAll/projectIndex.css" th:href="@{/css/projectAll/projectIndex.css}"/>
</head>

<body>
    <div class="container-div">
        <div class="tabsnav search-collapse">
            <ul class="nav_tabs">
                <li class="tab-item active">单位工程信息</li>
                <li class="tab-item">返回</li>
            </ul>
        </div>
        <div class="tabsbody ">
            <div class="tabsbody-item">
                <form action="">
                    <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                        <tbody>
                            <tr>
                                <td>
                                    <div class="page-title">
                                        <span>单位工程基本信息</span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table class="table table-bordered">
                                        <tbody>
                                            <tr>
                                                <td class="tdTitle">单位工程名称 </td>
                                                <td class="tdContent" th:text="${unitName}"></td>
                                                <td class="tdTitle">工程造价(万元) </td>
                                                <td colspan="2" class="tdContent">673.37</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">单位工程编号</td>
                                                <td class="tdContent" colspan="4">460100201784112</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">建筑总面积(㎡)</td>
                                                <td class="tdContent">4340.79</td>
                                                <td class="tdTitle">地上建筑面积(㎡)</td>
                                                <td class="tdContent" colspan="2">0</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">地下建筑面积(㎡)</td>
                                                <td class="tdContent">4340.79</td>
                                                <td class="tdTitle">是否有人防</td>
                                                <td class="tdContent" colspan="2">是</td>
                                            </tr>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">总层数</td>
                                                <td class="tdContent">1</td>
                                                <td class="tdTitle">地上层数</td>
                                                <td class="tdContent" colspan="2">0</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">地下层数</td>
                                                <td class="tdContent">1</td>
                                                <td class="tdTitle">工程性质</td>
                                                <td class="tdContent" colspan="2">新建</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">基础形式</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">结构形式</td>
                                                <td class="tdContent" colspan="2">剪力墙</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">工程类型</td>
                                                <td class="tdContent">其他</td>
                                                <td class="tdTitle">工程状态</td>
                                                <td class="tdContent" colspan="2">已竣工备案</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">计划开工日期</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">计划竣工日期</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">计划工期(天)</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">实际开工日期</td>
                                                <td class="tdContent" colspan="2">2017/10/26</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">实际竣工日期</td>
                                                <td class="tdContent">2018/12/26</td>
                                                <td class="tdTitle">实际工期(天)</td>
                                                <td class="tdContent" colspan="2">0</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">是否缴纳工程款支付保证金</td>
                                                <td class="tdContent">否</td>
                                                <td class="tdTitle">缴纳金额(万元)</td>
                                                <td class="tdContent" colspan="2">0</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">工程款支付保证金缴纳证明扫描件</td>
                                                <td class="tdContent" colspan="4">未上传附件</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">是否缴纳农民工工资保证金</td>
                                                <td class="tdContent">是</td>
                                                <td class="tdTitle">缴纳金额(万元)</td>
                                                <td class="tdContent" colspan="2">84.17</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">农民工工资保证金缴纳证明扫描件</td>
                                                <td class="tdContent" colspan="4">未上传附件</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工许可证号</td>
                                                <td class="tdContent" colspan="4">460108201710260101</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工许可证扫描件</td>
                                                <td class="tdContent" colspan="4">未上传附件</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">竣工备案号</td>
                                                <td class="tdContent" colspan="4">4601082018010</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">竣工备案证扫描件</td>
                                                <td class="tdContent" colspan="4">未上传附件</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察单位</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">勘察项目负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察技术负责人</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">注册岩土工程师</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">其他勘察人员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察成果审查机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">勘察成果审查负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察成果审查人员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察成果审查合格书编号</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">勘察招标代理机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">勘察招标代理负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">设计单位</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">设计项目负责人</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">建筑设计负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">结构设计负责人</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">水卫设计负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">电气设计负责人</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">暖通设计负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">其他设计负责人</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工图审查机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">施工图审查负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工图审查人员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工图审查合格书编号</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">设计招标代理机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">设计招标代理负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">监理单位</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">总监理工程师</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">总监理工程师代表</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">专业监理工程师</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">监理员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">见证员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工监理招标代理机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">监理招标代理负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工单位</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工项目经理</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">技术负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">质检员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">试验员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">安全员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">材料员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">资料员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">特种作业人员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">机械员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">施工招标代理机构</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">施工招标代理负责人</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">工程造价咨询单位</td>
                                                <td class="tdContent"></td>
                                                <td class="tdTitle">造价工程师</td>
                                                <td class="tdContent" colspan="2"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">造价员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">监督员</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">监督注册号</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">混凝土企业</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">检测机构</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">市政建设规模</td>
                                                <td class="tdContent" colspan="4"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
            <div class="tabsbody-item"></div>
        </div>

    </div>

    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
    var prefix = ctx + "project/projectCompleted";
    
        $(document).ready(function () {
        	$('.nav_tabs li').each(function(index){
        		if($(this).hasClass("active")){
        			//$.operate.get(prefix+"/detaila");
        			var index = $(this).index();
        			$(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
        		}
        	})
            $('.nav_tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                var textname = $(this).text();
               if($(this).text() == '返回'){
            	   window.history.back(-1);
               };
                $(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
            	switch(textname){
            	case '施工许可信息': consturctionCertInfo();
            	break;
            	case '竣工备案信息': completionRecordInfo();
            	break;
            	case '监督信息': supervisoryInformation();
            	break;
            	case '单位工程': unitEngineering();
            	break;
            	case '勘察成果审查信息': surveyResults();
            	break;
            	case '施工图审查信息': constructionDrawingReview();
            	break;
            	}
            
            });
            
        	function unitEngineering(){
            	var options = {
            			showSearch:false,
                      	showRefresh:false,
                      	showToggle:false,
                      	showColumns:false,
               	id:'unit-engineering',		
               	url: prefix + "/unitEngineering",
               	//detailUrl: prefix + "/unitEngineering/{id}",
               	modalName: "单位工程",
                columns: [
                {
                    field : 'id', 
                    title : '序号',
                    formatter: function (value, row, index) {

                        return index + 1;
                    }
                },
                {
                    field : 'name', 
                    title : '单位工程名称',
                    formatter: function (value, row, index) {
	                    var actions = [];
	                    actions.push('<a href="'+prefix+'/unit/detail?name='+value+'">'+value+'</a>');
	                    return actions.join('');
	                }
                },
                {
                    field : 'status', 
                    title : '工程状态'
                },
                {
                    field : 'areaAll', 
                    title : '建筑总面积(㎡)'
                },
                {
                    field : 'areaUp', 
                    title : '地上建筑面积(㎡)'
                },
                {
                    field : 'areaDown', 
                    title : '地下建筑面积(㎡)'
                },
                {
                    field : 'totalLayer', 
                    title : '总层数'
                }
                ]
            }
            	$.table.init(options);
            }
            
            function surveyResults(){
       	        var options = {
       	        		showSearch:false,
       	              	showRefresh:false,
       	              	showToggle:false,
       	              	showColumns:false,
              	id:'survey-results',		
              	url: prefix + "/surveyResults",
              	//detailUrl: prefix + "/unitEngineering/{id}",
              	modalName: "勘察成果审查",
                columns: [
                	{
					    field : 'guid', 
					    title : '序号',
					    visible: false
					},
					{
					    field: 'id',
					    title: '序号',
					    formatter: function (value, row, index) {
					
					        return index + 1;
					    }
					}, {
                        field: 'unitengineeringname',
                        title: '工程名称',
                        formatter: function (value, row, index) {
                            var actions = [];
                            actions.push('<a href="'+prefix+'/surveyResultsDetail?unitengineeringname='+row.unitengineeringname+'&projectName='+row.projectName+'">'+value+'</a>'); 
        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                            return actions.join('');
                        }
                    },
                    {
                        field: 'constructunit',
                        title: '建设单位',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                        field: 'Reconnaissanceunit',
                        title: '勘察单位',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                        field: 'censorship',
                        title: '审查机构',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                    field: 'state',
                    title: '状态'
                }]
	            }
	        	$.table.init(options);
            }
            
            function constructionDrawingReview(){
            	var options = {
            			showSearch:false,
                      	showRefresh:false,
                      	showToggle:false,
                      	showColumns:false,
              	id:'construction-drawing-review',		
              	url: prefix + "/constructionDrawingReview",
              	//detailUrl: prefix + "/unitEngineering/{id}",
              	modalName: "施工图审查",
              	columns: [{
				    field : 'guid', 
				    title : '序号',
				    visible: false
				},
				{
				    field: 'id',
				    title: '序号',
				    formatter: function (value, row, index) {
				
				        return index + 1;
				    }
				}, {
                        field: 'unitengineeringname',
                        title: '工程名称',
                        formatter: function (value, row, index) {
                            var actions = [];
                            actions.push('<a href="'+prefix+'/constructionDrawingReviewDetail?unitengineeringname='+row.unitengineeringname+'&projectName='+row.projectName+'">'+value+'</a>'); 
    //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                            return actions.join('');
                        }
                    }, 
                    {
                        field: 'constructunit',
                        title: '建设单位',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                        field: 'designunit',
                        title: '设计单位',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                        field: 'censorship',
                        title: '审查机构',
                        formatter: function (value, row, index) {
	                            var actions = [];
	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
	                            return actions.join('');
	                        }
                    },
                    {
                    field: 'state',
                    title: '状态'
                }]
            	}
	        	$.table.init(options);
            }
            
            $('#bidding').bootstrapTable({
                columns: [
                {
                    field : 'id', 
                    title : '序号'
                },
                {
                    field : 'name', 
                    title : '标段名称'
                },
                {
                    field : 'tenderType', 
                    title : '招标类型'
                },
                {
                    field : 'biddingOrganization', 
                    title : '招标组织形式'
                },
                {
                    field : 'biddingMethod', 
                    title : '招标方式'
                },
                {
                    field : 'constructionUnit', 
                    title : '建设单位'
                },
                {
                    field : 'biddingAgency', 
                    title : '招标代理机构'
                },
                {
                    field : 'status', 
                    title : '状态'
                }
                ]/* ,
                data: [{
   	                    id: ,
   	                    name: ,
   	                    constructionUnit: ,
   	                    reconnaissanceUnit: ,
   	                    censorship: ,
   	                    status: ,
   	                }] */
            });
            
            function supervisoryInformation(){
                //$('#supervisory-information').bootstrapTable({
                	var options = {
                			showSearch:false,
                          	showRefresh:false,
                          	showToggle:false,
                          	showColumns:false,
        			id:'supervisory-information',		
                   	url: prefix + "/supervisoryInformation",
                   	detailUrl: prefix + "/supervisoryInformationDetail/{id}",
                   	modalName: "监督信息",
                    columns: [
                    {
                        field : 'id', 
                        title : '序号',
    					formatter: function (value, row, index) {
    						
    					    return index + 1;
    					}
                    },
                    {
                        field : 'name', 
                        title : '工程名称',
                        formatter: function (value, row, index) {
    	                    var actions = [];
    	                    //actions.push('<a href="'+prefix+'/detail?name='+value+'">'+value+'</a>');
    	                    actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + value + '\')">'+value+'</a> ');
    	                    return actions.join('');
    	                }
                    },
                    {
                        field : 'unitEngineering', 
                        title : '单位工程'
                    },
                    {
                        field : 'supervisionUnit', 
                        title : '监督单位',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'status', 
                        title : '状态'
                    },
                    {
                        field : 'applicationTime', 
                        title : '申请时间'
                    }]
                  }
                	$.table.init(options);
                }
            
           // $('#consturctionCertInfo').bootstrapTable({
        	  function consturctionCertInfo(){
        		var options = {
        				showSearch:false,
                      	showRefresh:false,
                      	showToggle:false,
                      	showColumns:false,
        		id:'consturctionCertInfo',		
                url: prefix + "/consturctionLicenceInfo",
                detailUrl: prefix + "/consturctionCertInfoDetail/{id}",
                modalName: "施工许可",
                columns: [
                    {
                        field : 'guid', 
                        title : '施工许可标识符',
                        visible: false
                    },
                    {
                        field: 'id',
                        title: '序号',
                        formatter: function (value, row, index) {

                            return index + 1;
                        }
                    },
                    {
                        field : 'unitengineeringname',
                        title : '工程名称',
                        formatter: function (value, row, index) {
                             var actions = [];
                             //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.guid + '\')">'+value+'</a> ');
                             actions.push('<a href="'+prefix+'/consturctionCertInfoDetail?guid='+row.guid+'">'+value+'</a>');
                             return actions.join('');
                        }
                    },
                    {
                        field : 'constructunit', 
                        title : '建设单位',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'totalcompany', 
                        title : '施工总包单位',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'compactprice', 
                        title : '施工合同金额（万元）'
                    },
                    {
                        field : 'developmentscope', 
                        title : '建设规模（平方米）'
                    },
                    {
                        field : 'state', 
                        title : '状态'
                    }]
        		}
        		$.table.init(options);
        	  }
            //});
            
            //$('#completionRecordInfo').bootstrapTable({
              function completionRecordInfo(){
            	var options = {
            			showSearch:false,
                      	showRefresh:false,
                      	showToggle:false,
                      	showColumns:false,
     			id:'completionRecordInfo',		
               	url: prefix + "/completionRecordInfo",
               	detailUrl: prefix + "/completionRecordInfoDetail/{id}",
               	modalName: "竣工备案",
               	columns: [
                    {
                        field : 'guid', 
                        title : '序号',
                        visible: false
                    },
                    {
                        field: 'id',
                        title: '序号',
                        formatter: function (value, row, index) {

                            return index + 1;
                        }
                    },
                    {
                        field : 'engineeringname', 
                        title : '工程名称',
                        formatter: function (value, row, index) {
                             var actions = [];
                             //actions.push('<a href="'+prefix+'/consturctionCertInfoDetail?name='+value+'">'+value+'</a>');
                             //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.guid + '\')">'+value+'</a> ');
                             actions.push('<a href="'+prefix+'/completionRecordInfoDetail?guid='+row.guid+'">'+value+'</a>');
                             //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                             return actions.join('');
                        }
                    },
                    {
                        field : 'constructunit', 
                        title : '建设单位',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'constructionunit', 
                        title : '施工单位',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'inchargedepartment', 
                        title : '审查机构',
                                                formatter: function (value, row, index) {
                        	                            var actions = [];
                        	                            actions.push('<a href="/enterprise/enterpriseAll/detail?name='+value+'">'+value+'</a>'); 
                        	        //actions.push('<a href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.id + '\')">'+value+'</a>');
                        	                            return actions.join('');
                        	                        }
                    },
                    {
                        field : 'state', 
                        title : '状态'
                    }] /* ,
                data: [{
   	                    id:1 ,
   	                    name:"仁恒海棠公园一期（C区）(仁恒海棠公园一期(C区))",
   	                    constructionUnit:"海南陆侨集团有限公司",
   	                    generalContractor:"龙信建设集团有限公司 ",
   	                    contractAmount:"16621.8245",
   	                    area:"45555.12",
   	                    status:"审批通过"
   	                }] */ 
            //});
            	}
                $.table.init(options);
                }
        });
    </script>
</body>

</html>